<?php
/**
 * Created by PhpStorm.
 * User: aa
 * Date: 2019/7/10
 * Time: 14:19
 */
class ArticleController extends Controller
{
    public function list() {
        //echo $_COOKIE['cqy'];

        //var_dump($res);
        //Session::unset('aa');
        //echo Session::get('aa', '-----------------');
        $url =  url('article/captcha', []);
        var_dump($url);
        echo $res = Session::get('count');
        $this->assign('src',$url);
        $this->display();
    }

    public function captcha() {
        captcha();
    }
}